﻿<%@ Page Title="Home Page" Language="C#" MasterPageFile="~/Site.master" AutoEventWireup="true"
    CodeBehind="Default.aspx.cs" Inherits="CakeBlog._Default" %>

<asp:Content ID="HeaderContent" runat="server" ContentPlaceHolderID="HeadContent">
</asp:Content>
<asp:Content ID="BodyContent" runat="server" ContentPlaceHolderID="MainContent">
    <div class="main">
        <asp:DataList ID="postRepeater" runat="server">
            <ItemTemplate>
                <div class="introposts">
                    <img class="intropostimage" width="235" height="175" src="<%#Eval("introimage") %>" alt="<%#Eval("title") %> picture" />
                    <h2>
                        <a href="#"><%#Eval("title")%></a>
                    </h2>
                    <h3 class="dateheader">
                        <%#Eval("date")%>
                    </h3>
                    <p>
                        <%#Eval("intro")%>
                    </p>
                </div>
            </ItemTemplate>
            <FooterTemplate>
            </FooterTemplate>
        </asp:DataList>
    </div>
   
    <div class="sidebar" id="sidebar_login">
        <span class="sidebar_headtext">LOGIN </span>
        <table>
            <tr>
                <td>
                    <asp:Label ID="Label1" runat="server">User</asp:Label>
                </td>
                <td>
                    <asp:TextBox ID="TextBox1" runat="server" name="username"></asp:TextBox>
                </td>
            </tr>
            <tr>
                <td>
                    <asp:Label ID="Label2" runat="server">Password</asp:Label>
                </td>
                <td>
                    <asp:TextBox ID="TextBox2" runat="server" name="password"></asp:TextBox>
                </td>
            </tr>
            <tr>
                <td>
                </td>
                <td>
                    <asp:Button ID="btnLogin" runat="server" Text="Login" OnClick="btnLogin_OnClick" />
                </td>
            </tr>
        </table>
    </div>
    <div class="sidebar" id="sidebar_category">
        <span class="sidebar_headtext">CATEGORY </span>
        <ul id="categories">
            <li><a href="#">Cakes</a></li>
            <li><a href="#">Cookies</a></li>
            <li><a href="#">Cupcakes</a></li>
            <li><a href="#">Muffins</a></li>
            <li><a href="#">Pies</a></li>
            <li><a href="#">Sweet breads</a></li>
            <li><a href="#">Chocolate heaven</a></li>
            <li><a href="#">Holidays</a></li>
        </ul>
    </div>
    
    
</asp:Content>
